#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_btnchon_clicked();

    void on_bntstaxam_clicked();

    void on_bntastmau_clicked();

    void on_bntanhxam_pt_clicked();

    void on_bntanhmau_tp_clicked();

    void on_bntanhxam_pn_clicked();

    void on_btnchonanh1_clicked();

    void on_bntchonanh2_clicked();

    void on_bntconganh_clicked();

    void on_bnttruanh_clicked();

    void on_btnchon_2_clicked();

    void on_bntchon_tcd_clicked();

    void on_bntanhmau_tcd_clicked();

    void on_bntphannguonganhmau_clicked();

    void on_bnt_anhamban_clicked();

    void on_bnt_anhamban_anhmau_clicked();

private:
    Ui::MainWindow *ui;
   void tochucdo(const QImage &img, const int &his_height );
   void tochucdoanhmau(const QImage &image, const int &his_height );
};

#endif // MAINWINDOW_H
